<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 * 


 */

require_once './db_conn.php';
header("content-type:text/html;charset=utf-8");
$conn;
$connunt = $_POST['username'];
$password = md5($_POST['password']);
$login_time = time();

$sql = "
 INSERT INTO  `bbs`.`suer` (
`id` ,
`connunt` ,
`password` ,
`login_time`
)
VALUES (
NULL ,  '$connunt',  '$password',  '$login_time');
  ";
$result = $conn->query($sql);
header("location:biaodan.php");
